home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XSelectionRequestEvent.z / XSelectionRequestEvent
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnRRRReeeeqqqquuuueeeessssttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnRRRReeeeqqqquuuueeeessssttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSelectionRequestEvent - SelectionRequest event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _S_e_l_e_c_t_i_o_n_R_e_q_u_e_s_t events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* SelectionRequest */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window owner;
  20.                Window requestor;
  21.                Atom selection;
  22.                Atom target;
  23.                Atom property;
  24.                Time time;
  25.           } XSelectionRequestEvent;
  26.  
  27.           When you receive this event, the structure members are set
  28.           as follows.
  29.  
  30.           The type member is set to the event type constant name that
  31.           uniquely identifies it.  For example, when the X server
  32.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  33.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  34.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  35.           pointer to the display the event was read on.  The
  36.           send_event member is set to _T_r_u_e if the event came from a
  37.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  38.           the serial number reported in the protocol but expanded from
  39.           the 16-bit least-significant bits to a full 32-bit value.
  40.           The window member is set to the window that is most useful
  41.           to toolkit dispatchers.
  42.  
  43.           The owner member is set to the window that was specified by
  44.           the current owner in its _X_S_e_t_S_e_l_e_c_t_i_o_n_O_w_n_e_r call.  The
  45.           requestor member is set to the window requesting the
  46.           selection.  The selection member is set to the atom that
  47.           names the selection.  For example, PRIMARY is used to
  48.           indicate the primary selection.  The target member is set to
  49.           the atom that indicates the type the selection is desired
  50.           in.  The property member can be a property name or _N_o_n_e.
  51.           The time member is set to the timestamp or _C_u_r_r_e_n_t_T_i_m_e value
  52.           from the _C_o_n_v_e_r_t_S_e_l_e_c_t_i_o_n request.
  53.  
  54.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.           XAnyEvent(3X11), XButtonEvent(3X11),
  56.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  57.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  58.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  59.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnRRRReeeeqqqquuuueeeessssttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnRRRReeeeqqqquuuueeeessssttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XErrorEvent(3X11), XExposeEvent(3X11),
  75.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  76.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  77.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  78.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  79.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  80.           XSetSelectionOwner(3X11), XUnmapEvent(3X11),
  81.           XVisibilityEvent(3X11)
  82.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.